<template>
  <div>
    <van-area title="请选择" :area-list="areaList" @confirm="showArea" />
  </div>
</template>

<script>


import {areaList} from '@vant/area-data'
export default {
  data(){
    return {areaList}
  },
  methods:{
    showArea(area){
      console.log(area)
    }
  }
}
</script>

